<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>spade.pygooglechart.PieChart</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="spade-module.html">Package&nbsp;spade</a> ::
        <a href="spade.pygooglechart-module.html">Module&nbsp;pygooglechart</a> ::
        Class&nbsp;PieChart
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="spade.pygooglechart.PieChart-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class PieChart</h1><p class="nomargin-top"><span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_spade_py_19" name="uml_class_diagram_for_spade_py_19">
<area shape="rect" id="node2028" href="spade.pygooglechart.PieChart-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="29,521,393,540"/>
<area shape="rect" id="node2028" href="spade.pygooglechart.PieChart-class.html#set_pie_labels" title="spade.pygooglechart.PieChart.set_pie_labels" alt="" coords="29,540,393,559"/>
<area shape="rect" id="node2028" href="spade.pygooglechart.PieChart-class.html#get_url_bits" title="spade.pygooglechart.PieChart.get_url_bits" alt="" coords="29,559,393,577"/>
<area shape="rect" id="node2028" href="spade.pygooglechart.PieChart-class.html#annotated_data" title="spade.pygooglechart.PieChart.annotated_data" alt="" coords="29,577,393,596"/>
<area shape="rect" id="node2028" href="spade.pygooglechart.PieChart-class.html#scaled_data" title="Scale `self.data` as appropriate for the given data encoding (data_class) &#160;and return it." alt="" coords="29,596,393,615"/>
<area shape="rect" id="node1" href="spade.pygooglechart.PieChart-class.html" title="spade.pygooglechart.PieChart" alt="" coords="17,489,404,621"/>
<area shape="rect" id="node3" href="spade.pygooglechart.PieChart2D-class.html" title="spade.pygooglechart.PieChart2D" alt="" coords="27,641,131,679"/>
<area shape="rect" id="node4" href="spade.pygooglechart.PieChart3D-class.html" title="spade.pygooglechart.PieChart3D" alt="" coords="160,641,264,679"/>
<area shape="rect" id="node5" href="spade.pygooglechart.GoogleOMeterChart-class.html" title="Inheriting from PieChart because of similar labeling" alt="" coords="293,641,445,679"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#BASE_URL" title="spade.pygooglechart.Chart.BASE_URL" alt="" coords="17,31,405,49"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#BACKGROUND" title="spade.pygooglechart.Chart.BACKGROUND" alt="" coords="17,49,405,68"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#CHART" title="spade.pygooglechart.Chart.CHART" alt="" coords="17,68,405,87"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#ALPHA" title="spade.pygooglechart.Chart.ALPHA" alt="" coords="17,87,405,105"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#VALID_SOLID_FILL_TYPES" title="spade.pygooglechart.Chart.VALID_SOLID_FILL_TYPES" alt="" coords="17,105,405,124"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#SOLID" title="spade.pygooglechart.Chart.SOLID" alt="" coords="17,124,405,143"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#LINEAR_GRADIENT" title="spade.pygooglechart.Chart.LINEAR_GRADIENT" alt="" coords="17,143,405,161"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#LINEAR_STRIPES" title="spade.pygooglechart.Chart.LINEAR_STRIPES" alt="" coords="17,161,405,180"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#get_url" title="spade.pygooglechart.Chart.get_url" alt="" coords="17,183,405,201"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#download" title="spade.pygooglechart.Chart.download" alt="" coords="17,201,405,220"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_title" title="spade.pygooglechart.Chart.set_title" alt="" coords="17,220,405,239"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_legend" title="legend needs to be a list, tuple or None" alt="" coords="17,239,405,257"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_legend_position" title="spade.pygooglechart.Chart.set_legend_position" alt="" coords="17,257,405,276"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_colours" title="spade.pygooglechart.Chart.set_colours" alt="" coords="17,276,405,295"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_colours_within_series" title="spade.pygooglechart.Chart.set_colours_within_series" alt="" coords="17,295,405,313"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#fill_solid" title="spade.pygooglechart.Chart.fill_solid" alt="" coords="17,313,405,332"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#fill_linear_gradient" title="spade.pygooglechart.Chart.fill_linear_gradient" alt="" coords="17,332,405,351"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#fill_linear_stripes" title="spade.pygooglechart.Chart.fill_linear_stripes" alt="" coords="17,351,405,369"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#fill_to_url" title="spade.pygooglechart.Chart.fill_to_url" alt="" coords="17,369,405,388"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#data_class_detection" title="Determines the appropriate data encoding type to give satisfactory &#160;resolution (http://code.google.com/apis/chart/#chart_data)." alt="" coords="17,388,405,407"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#data_x_range" title="Return a 2&#45;tuple giving the minimum and maximum x&#45;axis data range." alt="" coords="17,407,405,425"/>
<area shape="rect" id="node2029" href="spade.pygooglechart.Chart-class.html#set_grid" title="spade.pygooglechart.Chart.set_grid" alt="" coords="17,444,405,463"/>
<area shape="rect" id="node2" href="spade.pygooglechart.Chart-class.html" title="Abstract class for all chart types." alt="" coords="5,6,416,469"/>
</map>
  <img src="uml_class_diagram_for_spade_py_19.gif" alt='' usemap="#uml_class_diagram_for_spade_py_19" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pygooglechart.PieChart-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>,
        <span class="summary-sig-arg">**kwargs</span>)</span><br />
      x.__init__(...) initializes x; see help(type(x)) for signature</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="set_pie_labels"></a><span class="summary-sig-name">set_pie_labels</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">labels</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.set_pie_labels">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pygooglechart.PieChart-class.html#get_url_bits" class="summary-sig-name">get_url_bits</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data_class</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.get_url_bits">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pygooglechart.PieChart-class.html#annotated_data" class="summary-sig-name">annotated_data</a>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.annotated_data">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="spade.pygooglechart.PieChart-class.html#scaled_data" class="summary-sig-name">scaled_data</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data_class</span>,
        <span class="summary-sig-arg">x_range</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">y_range</span>=<span class="summary-sig-default">None</span>)</span><br />
      Scale `self.data` as appropriate for the given data encoding 
      (data_class) and return it.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.scaled_data">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pygooglechart.Chart-class.html">Chart</a></code></b>:
      <code><a href="spade.pygooglechart.Chart-class.html#add_data">add_data</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_data_line">add_data_line</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_fill_range">add_fill_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_fill_simple">add_fill_simple</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_horizontal_range">add_horizontal_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_marker">add_marker</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_marker_text">add_marker_text</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#add_vertical_range">add_vertical_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#axis_to_url">axis_to_url</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#data_class_detection">data_class_detection</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#data_to_url">data_to_url</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#data_x_range">data_x_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#data_y_range">data_y_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#download">download</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#fill_linear_gradient">fill_linear_gradient</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#fill_linear_stripes">fill_linear_stripes</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#fill_solid">fill_solid</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#fill_to_url">fill_to_url</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#get_url">get_url</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#markers_to_url">markers_to_url</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_axis_labels">set_axis_labels</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_axis_positions">set_axis_positions</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_axis_range">set_axis_range</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_axis_style">set_axis_style</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_colours">set_colours</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_colours_within_series">set_colours_within_series</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_grid">set_grid</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_legend">set_legend</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_legend_position">set_legend_position</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_line_style">set_line_style</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#set_title">set_title</a></code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pygooglechart.Chart-class.html">Chart</a></code></b> (private):
      <code><a href="spade.pygooglechart.Chart-class.html#_check_fill_linear" onclick="show_private();">_check_fill_linear</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#_filter_none" onclick="show_private();">_filter_none</a></code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="spade.pygooglechart.Chart-class.html">Chart</a></code></b>:
      <code><a href="spade.pygooglechart.Chart-class.html#ALPHA">ALPHA</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#BACKGROUND">BACKGROUND</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#BASE_URL">BASE_URL</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#CHART">CHART</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#LINEAR_GRADIENT">LINEAR_GRADIENT</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#LINEAR_STRIPES">LINEAR_STRIPES</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#SOLID">SOLID</a></code>,
      <code><a href="spade.pygooglechart.Chart-class.html#VALID_SOLID_FILL_TYPES">VALID_SOLID_FILL_TYPES</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">*args</span>,
        <span class="sig-arg">**kwargs</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>x.__init__(...) initializes x; see help(type(x)) for signature</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_url_bits"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_url_bits</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data_class</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.get_url_bits">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pygooglechart.Chart-class.html#get_url_bits">Chart.get_url_bits</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="annotated_data"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">annotated_data</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.annotated_data">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pygooglechart.Chart-class.html#annotated_data">Chart.annotated_data</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="scaled_data"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">scaled_data</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data_class</span>,
        <span class="sig-arg">x_range</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">y_range</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="spade.pygooglechart-pysrc.html#PieChart.scaled_data">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Scale `self.data` as appropriate for the given data encoding 
  (data_class) and return it.</p>
  <p>An optional `y_range` -- a 2-tuple (lower, upper) -- can be given to 
  specify the y-axis bounds. If not given, the range is inferred from the 
  data: (0, &lt;max-value&gt;) presuming no negative values, or 
  (&lt;min-value&gt;, &lt;max-value&gt;) if there are negative values.  
  `self.scaled_y_range` is set to the actual lower and upper scaling 
  range.</p>
  <p>Ditto for `x_range`. Note that some chart types don't have x-axis 
  data.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="spade.pygooglechart.Chart-class.html#scaled_data">Chart.scaled_data</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="spade-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://spade2.googlecode.com">SPADE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Aug  1 18:44:51 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
